package com.wifi.channerClass.entity;

import java.sql.Date;


public class ChannelClassEntity {
    private  int id;
    private   String name;
    private int pid;
    private Date  creatTime;
private String fatherName;
private  int status;

    @Override
    public String toString() {
        return "ChannelClassEntity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pid=" + pid +
                ", creatTime=" + creatTime +
                ", fatherName='" + fatherName + '\'' +
                ", status=" + status +
                '}';
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public ChannelClassEntity(int id, String name, int pid, Date creatTime, String fatherName, int status) {
        this.id = id;
        this.name = name;
        this.pid = pid;
        this.creatTime = creatTime;
        this.fatherName = fatherName;
        this.status = status;
    }

    public ChannelClassEntity(int id, String name, int pid, Date creatTime, String fatherName) {
        this.id = id;
        this.name = name;
        this.pid = pid;
        this.creatTime = creatTime;
        this.fatherName = fatherName;
    }

    public String getFatherName() {
        return fatherName;
    }

    public void setFatherName(String fatherName) {
        this.fatherName = fatherName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public ChannelClassEntity() {
    }

    public ChannelClassEntity(int id, String name, int pid, Date creatTime) {
        this.id = id;
        this.name = name;
        this.pid = pid;
        this.creatTime = creatTime;
    }
}
